<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="">
		<title>登录</title>

		<!-- Bootstrap core CSS -->
		<link href="/asserts/css/bootstrap.min.css" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.css}" rel="stylesheet">
		<!-- Custom styles for this template -->
		<link href="/asserts/css/signin.css" th:href="@{/asserts/css/signin.css}" rel="stylesheet">
	</head>

	<body class="text-center"  background="/statics/images/47fb3c_.jpg">
			<div >
				<form class="form-signin" th:action="@{/user/login}" method="post">
					<img class="mb-4"  th:src="@{/asserts/img/tree.svg}" alt="" width="72" height="72">
					<h1 style="color: #01a0e4" class="h3 mb-3 font-weight-normal">请登录</h1>
					<p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
					<label class="sr-only" >用户名</label>
					<input type="text" name="username" class="form-control" placeholder="用户名"  autofocus="">
					<label class="sr-only" >密码</label>
					<input type="password" name="password" class="form-control" placeholder="密码" >
					<div class="checkbox mb-3">
						<label>
							<input type="checkbox" value="remember-me" style="color: #00c4ff"> 记住我
						</label>
					</div>
					<button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>

					<p class="mt-5 mb-3 text-muted">© 2019-2020</p>
					<!--			<a class="btn btn-sm">中文</a>-->
					<!--			<a class="btn btn-sm">English</a>-->
				</form>
			</div >
			<div class="text-center">
				<form class="form-signin" th:action="@{/visitor/login}" method="post">
					<button class="btn btn-lg btn-success btn-block" type="submit">游客登录</button>
				</form>
			</div>





	</body>

</html>